package is.server.model.xtool;

import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;

/**
 * @author aspr0
 *         Date: 01.06.12
 *         Time: 16:03
 */
public class ParseErrorHandler implements ErrorHandler
{
    @Override
    public void warning(SAXParseException exception) throws SAXException
    {
        throw exception;
    }

    @Override
    public void error(SAXParseException exception) throws SAXException
    {
        throw exception;
    }

    @Override
    public void fatalError(SAXParseException exception) throws SAXException
    {
        throw exception;
    }
}
